package cn.rubintry.bug.hunting.room.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import cn.rubintry.bug.hunting.pojo.TagDataModel

@Dao
interface TagDao {

    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insert(vararg datas: TagDataModel)

    @Query("SELECT * FROM TagDataModel")
    fun selectAll() : List<TagDataModel>
}